﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

using modActor;
using modUtileria;
using modDatos;
using modPeticiones;
using modLanGame;

namespace modElenco
{
    public class CGameOver : CActor
    {        
        SpriteFont fuente;

        public CGameOver()
        {
            base.init();
            data.escenarioDatos.primarykey = "GameOver";
            fuente = SCutileria.darFuente("fuenteTest");
        }

        public override void drawInEscenary(ref SpriteBatch sprite)
        {
            string Texto = "-GAME OVER-";
            string Score = "SU PUNTAJE ES DE :"+_BlackGlobal.score;

            sprite.DrawString(fuente, Texto,new Vector2(40,40), Color.DarkRed);
            sprite.DrawString(fuente, Score, new Vector2(40, 80), Color.DarkRed);
        }
    }
}
